From: Luis R. Rodriguez Date: Tue, 2 Jun 2009 20:31:10 +0000 (-0400) Subject: cfg80211: make ieee80211_get_mesh_hdrlen() static X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~22309^2~157^2~14 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi//%22https:/bugzilla.%22/%22http:/www.example.com/cgi/%22https:/bugzilla.%22?a=commitdiff_plain;h=60fd2b67014440091770ac5738301c7fa4c4159c;p=linux-4.9.git cfg80211: make ieee80211_get_mesh_hdrlen() static Fixes spares warning: net/wireless/util.c:261:5: warning: symbol 'ieee80211_get_mesh_hdrlen' was not declared. Should it be static? Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- diff --git a/net/wireless/util.c b/net/wireless/util.c index 5be9ed7ae1e9..25550692dda6 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -258,7 +258,7 @@ unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff *skb) } EXPORT_SYMBOL(ieee80211_get_hdrlen_from_skb); -int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr) +static int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr) { int ae = meshhdr->flags & MESH_FLAGS_AE; /* 7.1.3.5a.2 */